﻿using System;
using System.Collections.Generic;
using System.Text;

namespace fly
{
    class overload
    {
        private int age;
        private string name;

        public overload(int age, string name)
        {
            this.age = age;
            this.name = name;
        }
        public static bool operator==(overload s1,overload s2)
        {
            if(s1.age==s2.age&&s1.name==s2.name)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        public static bool operator !=(overload s1, overload s2)
        {
            if (s1.age == s2.age && s1.name == s2.name)
            {
                return false;
            }
            else
            {
                return true;
            }
        }

    }
}
